//
//  UIViewController+WDNavigitionItem.h
//  Zhihuijinfu
//
//  Created by 王笛 on 2016/11/28.
//  Copyright © 2016年 王笛. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (WDNavigitionItem)

/** 创建导航控制器的一个标题 */
- (void)creatTitleView:(NSString *)imageName imageSize:(CGSize)imageSize;

/** 设置根视图下的左边导航按钮（有无通知） */
- (void)setNavLeftBtnWithAction:(SEL)leftAction leftBtnImage:(NSString *)leftBtnImage leftBtnSelImage:(NSString *)leftBtnSelImage;

/** 加载导航条（两边按钮图片） */
- (void)loadNavItemWithLeftAction:(SEL)leftAction leftBtnImage:(NSString *)leftBtnImage leftBtnSelImage:(NSString *)leftBtnSelImage title:(NSString *)title rihgtAction:(SEL)rightAction rightBtnImage:(NSString *)rightBtnImage rightBtnSelImage:(NSString *)rightBtnSelImage;

/** 加载导航条 */
- (void)loadNavItemWithLeftAction:(SEL)leftAction leftBtnStr:(NSString *)leftStr  title:(NSString *)title rihgtAction:(SEL)rightAction rightStr:(NSString *)rightStr;

/** 加载导航条（只有左边按钮） */
- (void)loadNavItemWithAction:(SEL)action btnImage:(NSString *)btnImage btnSelImage:(NSString *)btnSelImage title:(NSString *)title;

/** 左边图片，右边文字 */
- (void)loadNavItemWithLeftAction:(SEL)leftAction leftBtnImage:(NSString *)leftBtnImage leftBtnSelImage:(NSString *)leftBtnSelImage title:(NSString *)title rihgtAction:(SEL)rightAction rightStr:(NSString *)rightStr;

@end
